package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.HouseLeaseDto;
import com.ant.storage.excel.HouseLeaseExcel;
import com.ant.storage.pojo.AuditList;
import com.ant.storage.pojo.HouseLease;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2023-11-13
 */
public interface IHouseLeaseService extends IService<HouseLease> {

    PageInfo<HouseLease> queryList(HouseLeaseDto dto);

    ResultVo houseLeaseSave(HouseLease dto);

    HouseLease findHouseLeaseById(Integer id);

    AuditList selectIsAudit(String processInstanceId, String user_id);

    List<HouseLease> houseLease(Integer id);

    ResultVo houseLeaseUpdate(HouseLease dto);

    ResultVo houseLeaseSaves(HouseLease dto);

    List<HouseLeaseExcel> exportCensus(Integer isRecycle);
}
